#ifndef DIALOG_TEST_H
#define DIALOG_TEST_H

#include <QDialog>
#include  "fun.h"
namespace Ui {
class Dialog_test;
}

class Dialog_test : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog_test(test *da,QWidget *parent = nullptr);
    ~Dialog_test();

    static int show(test *buffer,QWidget *parent = nullptr);



    QPushButton *t_btn_yes;
    QPushButton *t_btn_no;
    QPushButton *t_btn_ture;

    enum EnmButton{
            ENM_yse_BTN = 1,
            ENM_no_BTN=2,
            ENM_true_BTN=0,
        };

private slots:
    void on_pushButton_clicked(bool checked);
    void on_pushButton_2_clicked(bool checked);
    void on_pushButton_3_clicked(bool checked);
    void on_pushButton_4_clicked(bool checked);

    void on_pushButton_5_clicked(bool checked);

private:
    Ui::Dialog_test *ui;
    test *buffer;


};

#endif // DIALOG_TEST_H
